home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15821 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: nova.umuc.edu!not-for-mail
  2. From: srussell@nova.umuc.edu (Steve Russell)
  3. Newsgroups: comp.lang.c++
  4. Subject: " A silly beginner's question
  5. Date: 7 Apr 1996 22:51:58 -0400
  6. Organization: University of Maryland University College
  7. Message-ID: <4k9v0e$p57@nova.umuc.edu>
  8. NNTP-Posting-Host: nova.umuc.edu
  9.  
  10. This may sound like a dumb question, but hey Im still a new programmer
  11. and it is one of this things not talked a lot about in school.
  12.  
  13. Anyway what is a " core dump"?  What causes it?  What is a 
  14. "segment fault"?  I've seen messages like " segment fault, core
  15. dumped".  I stopped it by putting in exit commands before they
  16. could happen, but what do these messages mean?
  17.  
  18. Also, I made my first class destructor today for deallocating
  19. dynamically allocated memory.  I put a brief output message in
  20. it to let me know when it executes.  I never saw it, does this
  21. mean that it doesn't execute or just that it executes after my
  22. program is completely over ( hence no message).
  23.  
  24. Is there a way to manually get the destructor to execute?  
  25.  
  26. Thanks
  27. STeve
  28.